package com.example.demo.model.entity;

import javax.persistence.*;
import java.util.Set;

/**
 * Created by Administrator on 2018/4/10.
 */

@Entity
@Table(name = "t_category")
public class CategoryModel {

    @Id
    @Column
    private String categoryId;

    @Column
    private String categoryName;

    @Column
    private Long createTime;

    public String getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }
}
